//
//  DetailCompereTableViewCell.m
//  JZMCFM
//
//  Created by Mc on 15/10/31.
//  Copyright (c) 2015年 陈卓. All rights reserved.
//

#import "DetailCompereTableViewCell.h"

@interface DetailCompereTableViewCell ()
@property (strong, nonatomic) IBOutlet UIImageView *imageV;
@property (strong, nonatomic) IBOutlet UILabel *nickname;
@property (strong, nonatomic) IBOutlet UILabel *personDescribe;
@property (strong, nonatomic) IBOutlet UILabel *tracksCounts;
@property (strong, nonatomic) IBOutlet UILabel *followersCounts;

@end

@implementation DetailCompereTableViewCell

- (void)setCellWithModel:(DetailCompereModel *)model
{
    [self.imageV sd_setImageWithURL:[NSURL URLWithString:model.largeLogo]];
    self.nickname.text = model.nickname;
    self.personDescribe.text = model.personDescribe;
    self.personDescribe.alpha = 0.5;
    self.tracksCounts.text = [NSString stringWithFormat:@"%ld",model.tracksCounts];
    self.followersCounts.text = [NSString stringWithFormat:@"%ld",model.followersCounts];
    
}



- (void)awakeFromNib {
    self.imageV.layer.cornerRadius = 10;
    self.imageV.clipsToBounds = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
